vulkan: Don't attempt to free 0 command buffers
authorTestingPlant <49836-TestingPlant@users.noreply.gitlab.gnome.org>
Sun, 8 May 2022 04:32:26 +0000 (04:32 +0000)
committerTestingPlant <49836-TestingPlant@users.noreply.gitlab.gnome.org>
Sun, 8 May 2022 05:37:14 +0000 (05:37 +0000)
commit2f98de06bc94252cefaf21410c498b71f25b03f9
treeff14f4b5a1ce880dd4c8e10d1d807a4b030fb5f8
parent9e6855cdb813f8c13168fcaea00ef5e2f77d3472
vulkan: Don't attempt to free 0 command buffers

vkFreeCommandBuffers can't be called with commandBufferCount set to 0.
gsk/vulkan/gskvulkancommandpool.c